package com.nowcoder.community.entity;

import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
/**
 * @author bombax
 * @date 2024-07-13 23:54
 * @TableName user
 */
@Data
public class User implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    private int id;
    private String username;
    private String password;
    private String salt;
    private String email;
    /**
     * 0-普通用户; 1-超级管理员; 2-版主;
     */
    private int type;
    /**
     * 0-未激活; 1-已激活;
     */
    private int status;
    private String activationCode;
    private String headerUrl;
    private Date createTime;
}